Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transaction hook #340

Closed

Conversation

yohane55
Copy link

This hook is made in similar way of knex transaction hook.

  • This hook creates a transaction only if there is no any already created transactions with in context.params and does commits or rollback only the transaction is from the same service/path.

  • Some tips found from this issue Transactions support #188

@yohane55 yohane55 closed this Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant